<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>俄罗斯方块</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="game-container">
        <div class="game-info">
            <div class="score-box">
                <h2>分数</h2>
                <div id="score">0</div>
            </div>
            <div class="next-piece">
                <h2>下一个</h2>
                <div id="next-piece-display"></div>
            </div>
            <div class="controls">
                <h2>操作说明</h2>
                <p>← →：左右移动</p>
                <p>↑：旋转</p>
                <p>↓：加速下落</p>
                <p>空格：直接下落</p>
                <p>P：暂停/继续</p>
            </div>
            <button id="start-btn">开始游戏</button>
        </div>
        <div id="game-board"></div>
    </div>
    <script src="tetris.js"></script>
</body>
</html>